<template>
  <van-popup v-model="show" round position="bottom" :style="{ height: '70%' }" get-container="body">
    <ne-pick title="律师列表" @cancel="show=false">
      <div class="ne-container" style="height:calc((100vh * 0.7) - 44px);overflow: auto;">
        <doctor-card
            v-for="item in dataSource"
            :key="item.indexCode"
            :row="item"
            :show-book="false"
        />
        <van-empty v-if="!dataSource.length" description="暂无数据"/>
      </div>
    </ne-pick>
  </van-popup>
</template>

<script>
import DoctorCard from "../../zhfw/components/DoctorCard.vue";
import pagingMixin from "../../../mixins/pagingMixin";
import NePick from "../../../components/NePick.vue";
export default {
  components: {NePick, DoctorCard},
  mixins:[pagingMixin],
  data() {
    return {
      talentList:[],
      restfulApi:'/tbTalentDatabase/page',
      show:false
    }
  },
  methods:{
    showModal(){
      this.show = true
      this.search({talentType:'4'})
    }
  },
  mounted() {
  }
}
</script>
